package com.examples.gateway.controller;

import com.examples.gateway.entity.SystemOperateLog;
import com.examples.gateway.service.OperateLogService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/test")
public class TestController {

    @Resource
    private OperateLogService operateLogService;

    @RequestMapping("/hello")
    public String hello(){
//        SystemOperateLog byId = operateLogService.getById(1L);
        return "hello";
    }
}
